package ywpt.service.people;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import ywpt.model.PeopleFamily;

public interface FamilyService {

	public abstract PeopleFamily getFamilyInfoById(Long id);

	public abstract int getFamilyInfoCountByCriteria(DetachedCriteria query);

	public abstract List<PeopleFamily> getFamilyInfos(
			DetachedCriteria query, int pageSize, int i);

	public abstract void saveFamilyInfo(PeopleFamily familyInfo,Long peopleId);

	public abstract void updateFamilyInfo(PeopleFamily familyInfo,Long peopleId);

	public abstract void removeFamilyInfo(Long id);

}
